<template>
  <el-image :src="src">
    <div slot="error" class="image-slot">
      <img src="./head.jpg" alt="">
    </div>
  </el-image>
</template>

<script>
export default {
  name: 'ImageHolder',
  props: {
    src: {
      type: String,
      default: ''
    }
  }
}
</script>

<style>

</style>
